const compress/flate.hashBits
6 uses
compress/flate (current package)
deflate.go#L53: hashBits = 17 // After 17 performance degrades
deflate.go#L54: hashSize = 1 << hashBits
deflate.go#L55: hashMask = (1 << hashBits) - 1
deflate.go#L296: return ((uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24) * hashmul) >> (32 - hashBits)
deflate.go#L306: dst[0] = (hb * hashmul) >> (32 - hashBits)
deflate.go#L310: dst[i] = (hb * hashmul) >> (32 - hashBits)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |